﻿using System;
using FreeSql.DataAnnotations;

namespace Model
{
    /// <summary>
    /// 轴承加注完成结论
    /// </summary>
    public class RecordResult : ModelBase
    {
        private int _id;
        [Column(CanInsert = false)]
        public int Id
        {
            get => _id;
            set => Set(ref _id, value);
        }
        private string _bearingNO;
        /// <summary>
        /// 轴承编号
        /// </summary>
        public string BearingNo
        {
            get => _bearingNO;
            set => Set(ref _bearingNO, value);
        }
        private float _oilNum;
        /// <summary>
        /// 轴承油脂加注量
        /// </summary>
        public float OilNum
        {
            get => _oilNum;
            set => Set(ref _oilNum, value);
        }
        private DateTime _workingTime=DateTime.Now;
        /// <summary>
        /// 加注时间
        /// </summary>
        public DateTime WorkingTime
        {
            get => _workingTime;
            set => Set(ref _workingTime, value);
        }


    }
}
